﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="jjwtlist.aspx.cs" Inherits="GPCSC.Web.sjs.jjwtlist" %>
<%@ Register Assembly="NickLee.Web.UI" Namespace="NickLee.Web.UI" TagPrefix="NickLee" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
       <title>淮安市领导干部下基层活动网站</title>
<meta name="KEYWords" content="淮安市领导干部下基层活动,三解三促,三进三帮" />
<meta name="DEscription" content="淮安市领导干部下基层活动,三解三促,三进三帮" />
        <link type="text/css" rel="Stylesheet" href="../Css/GridCss.css" />
     <link type="text/css" rel="Stylesheet" href="../Css/selectCss.css" />
     <link href="../Css/main.css" rel="stylesheet" type="text/css" />
     <script type="text/javascript" src="../Scripts/FYJScript.js"></script>
       <script type="text/javascript"  src="../Scripts/jquery-1.6.2.min.js"> </script>     
<script type="text/javascript"  src="../Scripts/jquery-ui-1.8.16.custom.min.js"> </script>
       <link href="../Css/jquery-ui-1.8.16.custom.css" rel="stylesheet" type="text/css" />
        <script type ="text/javascript" src ="../scripts/datepicker/WdatePicker.js"></script>
        <script type="text/javascript"  src="../Scripts/jquery-ui-1.8.16.custom.min.js"> </script>
          <link href="../Css/jquery-ui-1.8.16.custom.css" rel="stylesheet" type="text/css" />


     <script>
         function chaNumber(type, number, cl_post_soid) {

             var type = type;
             var number = number;
             var cl_post_soid = cl_post_soid;
             LCallBack.Callback(type, number, cl_post_soid);

         }
         function openNewWindow(url, primarykey) {
             url = url + "&CommandArg=" + primarykey;
             window.location.href = url;

         }
         function tj(id) {
             LCallBack.Callback("4", "", id);
         }
         function select() {
             var like = document.getElementById("like").value;
             LCallBack.Callback("2", "", like);
         }
         function offren() {
             $("#selector").dialog({
                 dialogClass: "my-dialog",
                 modal: true,
                 width: 500,
                 height: 400
             });
         }
//         function ssbigin() {
//             var bts = $("#bts").val();
//             var nrs = $("#nrs").val();
//             $("#selector").dialog("close");
//             LCallBack.Callback("sel", bts, nrs);
//         }
         function edit(type, newsid) {
             window.location.href = "jjwtEdit.aspx?command=" + type + "&newsid=" + newsid;
            
         }
</script>
<script>
    function jjs(ids) {


        //        alert(ids); 

        LCallBack.Callback("jj", ids);

    }
    function jjes(e) {


        //        alert($(e).attr("name"));
        if (confirm("请确定已解决/完成？")) {
            //alert($(e).attr("name"));
            var sdf = $(e).attr("name");
            LCallBack.Callback("jj", sdf);
        }
    
    }
    function offren() {
        $("#selector").dialog({
            dialogClass: "my-dialog",
            modal: true,
            width: 700,
            height: 400
        });
    }

    function ssbigin() {
        var type = $("#types").val();
        var gj = $("#nrs").val();
        var kdate = $("#kdate").val();
        var jdate = $("#jdate").val();
        $("#selector").dialog("close");
        LCallBack.Callback("sel",type,gj,kdate,jdate);
    }
    function del(type,ids) {
        if (confirm("您确定删除吗？")) {
            LCallBack.Callback(type, ids);
        }
    }
</script>

</head>
<body>
    <form id="form1" runat="server">
    <div >
    <!--导航-->
    <table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="29" background="../images/1.gif"><table width="300" border="0" cellspacing="0" cellpadding="0">
      <tr>
        <td width="300" class="tittle">当前位置：问题实事</td>
      </tr>
    </table></td>
  </tr>
</table>

<!--标题-->
<%--    <div style="margin-top:20px; float:none;">
    <div style="text-align:left; width:50%;  height:50px; vertical-align:bottom; ">
    <img src="../images/right2.gif" />
    <strong style="color:#0F5A8C">民情日记推荐</strong>
    </div>
    </div>
--%>
<!--查询-->
<!-- border: 1px solid  #AECBD4;-->
<div class="selects">
<table>
<tr>

<%-- <td>
 <input type="button" class="buttonCss" value="筛选" onclick="offren()" />
 </td>--%>
 <td>标题关键字：</td>
<td>
<input id="like" type="text" /> 
</td>
<td>
<%--selectsbutton--%>
 <input type="button" class="buttonCss" value="搜索" onclick="var like = document.getElementById('like').value; LCallBack.Callback('2', '', like);" />
</td>
  <td >
<input type="button" class="buttonCss" value="筛选" onclick="offren()" />

&nbsp;&nbsp;&nbsp;&nbsp;
<%--<input type="button" class="buttonCss" value="新增" onclick="window.location.href='jjwtEdit.aspx';" />--%>
<input type="button" class="buttonCss" value="新增" onclick="window.location.href='jjwtEdit.aspx';" />

</td>
</tr>



</table>


</div>

<nicklee:CallBack runat="server" ID="LCallBack" OnCallback="LCallBack_Callback" PostState="True"
            Width="100%" Height="100%" 
            LoadingPanelFadeDuration="800" LoadingPanelFadeMaximumOpacity="80">
            <Content>
                <asp:Panel ID="LPanel" runat="server">
                <asp:Label ID="lblProcesserMsg" runat="server" CssClass="labelRed" Style="display: none;"></asp:Label>
                        <asp:Label ID="lblCount" runat="server" CssClass="labelBlue" Text=""></asp:Label>
                        <asp:TextBox ID="MtxtD_DeleteList" Style="display: none" runat="server"></asp:TextBox>
                        <asp:HiddenField ID="hfError" runat="server" Value=""></asp:HiddenField>
                <div id="grid" class="grid" >

    <asp:Repeater ID="PostListS" runat="server">
    <HeaderTemplate>
    
    
    <table width="100%" >
<tr height="26px" >

<th  style=" width:30%"  >
概要
</th>
<th  style=" width:7%"  >
类型
</th>
<th  style=" width:6%">
涉及对象
</th>
<th  style=" width:7%">
记录时间
</th>
<th   style=" width:20%" colspan="3">
操作
</th>
<th  style=" width:20%">
当前状态
</th>




</tr>
</HeaderTemplate>
<ItemTemplate>


<!--不带底色-->
<tr>

<td>

<%# DataBinder.Eval(Container.DataItem, "wtvalue")%>
</td>
<td>

<%# DataBinder.Eval(Container.DataItem, "typ")%>
</td>

<td>

<%# DataBinder.Eval(Container.DataItem, "jutext")%>
</td>
<td>
<%#  Convert.ToDateTime(DataBinder.Eval(Container.DataItem, "tjdate")).ToShortDateString()%>
</td>
<td style=" cursor:pointer;" onclick="edit('view','<%# DataBinder.Eval(Container.DataItem, "hdwt_id")%>')">
[查看]
</td>
<td style=" cursor:pointer;" onclick="edit('edit','<%# DataBinder.Eval(Container.DataItem, "hdwt_id")%>')">
[修改]
</td>
<td style=" cursor:pointer;" onclick="del('del','<%# DataBinder.Eval(Container.DataItem, "hdwt_id")%>')">
[删除]
</td>

<td>
<%# DataBinder.Eval(Container.DataItem, "zt")%>
</td>



</tr>

</ItemTemplate>
<FooterTemplate>
</table>
</FooterTemplate>

</asp:Repeater>
<!--分页-->
<div id="pageinfo" runat="server"  class="pageinfo"></div>	
</div>
 
            </asp:Panel>
            </Content>
          <%--  <ClientEvents>
                <CallbackComplete EventHandler="LCallBack_onCallbackComplete" />
                <CallbackError EventHandler="LCallBack_onCallbackError" />
            </ClientEvents>--%>
            <LoadingPanelClientTemplate>
                <table style="width: 100%; height: 100%;" cellspacing="0" cellpadding="0" border="0"
                    bgcolor="#e0e0e0">
                    <tr style="width: 100%; height: 100%;">
                        <td style="width: 100%; height: 100%; vertical-align: middle; text-align: center;">
                            <table cellspacing="0" cellpadding="0" border="0">
                                <tr>
                                    <td style="font-family: tahoma; font-size: 12px; text-align: center;">
                                        数据载入中...&nbsp;
                                    </td>
                                </tr>
                                <tr>
                                    <td style="font-family: tahoma; font-size: 12px; text-align: center;">
                                        <img alt="" src="../images/GreenBar.gif" border="0" />
                                    </td>
                                </tr>
                            </table>
                        </td>
                    </tr>
                </table>
           </LoadingPanelClientTemplate>
         </nicklee:CallBack>
         
<!--列表-->
<div id="selector"  title="高级搜索" style=" display:none"  >

<table style=" width:100%; height:100%">
<tr>
<td style="text-align:right;color:#0161A1;">
问题类型：
</td>
<td>
   <select id="types" runat="server">
       <option value="null">
       --请选择--
       </option>
       <option value = "1">
      关于农村
       </option>
       <option value = "2">
      关于社区
       </option>
       <option value = "3">
      关于企业
       </option>
       </select>
</td>
</tr>

<tr>
<td style="text-align:right;color:#0161A1;">
关键字：
</td>
<td>
<input type="text" id="nrs" style="text-align:left"/>
</td>
</tr>
<tr>
<td style="text-align:right;color:#0161A1;">
时间范围：
</td>
<td style="text-align:right;color:#0161A1;">
 <div style="float:left;"> 
                                     <input type="text" id="kdate" runat="server" /></div>
                                        <div style="float:left;">
                                         <img  style="margin-bottom:0px;"  src="../Images/calendar.gif"  onclick="WdatePicker({el:'kdate'})"/>
                                      
                                       </div>
                                       <div style=" float:left">   
                                       &nbsp;
                                      
                                       至
                                       &nbsp;
                                       </div>
                                       <div style="float:left;">
                                        <input type="text" id="jdate" runat="server" /></div>
                                        <div style="float:left;">
                                         <img  style="margin-bottom:0px;"  src="../Images/calendar.gif"  onclick="WdatePicker({el:'jdate'})"/>
                                      
                                       </div>   

</td>
</tr>
<tr>
<td colspan="2" style="text-align:center"> 
<input type="button" value="开始搜索" onclick="ssbigin()" class="buttonCss" />
</td>
</tr>

</table>

</div>
    </div>
    </form>
</body>
</html>